package com.cxc.entity;

import com.cxc.visit.Visit;

public class Banana implements Fruite {
    private int price = 60;

    public Banana() {

    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getPrice() {
        return price;
    }

    public int price() {
        return price;
    }

    public void Banana(){

    }
    public Banana(int price) {
        this.price = price;
    }

    public void draw() {
        System.out.print("仙人蕉");
    }

    public int accept(Visit visit) {
        return visit.sell(this);
    }

}
